package com.seres.backend.admin;

import java.util.ArrayList;
import java.util.List;

import com.seres.data.Index;

public class IndicesParserResult {
	
	private List<Index> indices;
	private List<Integer> indicesIds;
	
	public IndicesParserResult(){
		setIndices(new ArrayList<Index>());
		setIndicesIds(new ArrayList<Integer>());
	}
	
	public void addIndex(int id, Index index){
		getIndices().add(index);
		getIndicesIds().add(id);
	}

	public List<Index> getIndices() {
		return indices;
	}

	private void setIndices(List<Index> indices) {
		this.indices = indices;
	}

	public List<Integer> getIndicesIds() {
		return indicesIds;
	}

	private void setIndicesIds(List<Integer> indicesIds) {
		this.indicesIds = indicesIds;
	}
}
